home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Austin Powers - The Spy who Shagged Me
/
Screendragon: Austin Powers - The Spy who Shagged Me.iso
/
xtras
/
regread
/
regread.dir
/
00002_Script_2
< prev
next >
Wrap
Text File
|
1999-03-16
|
324b
|
11 lines
on readAppPath aName
set appName = aName
-- add ".exe" if omitted:
if chars(appName, length(appName) - 3, length(appName)) <> ".exe" then
set appName = appName & ".exe"
end if
return ReadRegistryValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\" & appName, "")
end